package com.zhouxiaoge.faker;

import com.github.javafaker.Address;
import com.github.javafaker.Faker;
import com.github.javafaker.Job;
import com.github.javafaker.Name;

import java.util.Locale;

/**
 * @author 周小哥 gqzmy@163.com 2022/8/17 17:17
 */

public class Main {
    public static void main(String[] args) {
        Faker faker = new Faker(Locale.CHINA);
        Name name = faker.name();
        Address address = faker.address();
        Job job = faker.job();
        for (int i = 0; i < 1000; i++) {
            System.out.println(name.name());
            System.out.println(job.field());
            System.out.println(address.city());
        }
    }
}
